package org.csu.petserver.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

@Data
@TableName("admininfo")
@Repository
public class User {
//    @NotBlank(message = "账号不能为空")
    @TableId("id")
    private String id;

//    @NotBlank(message = "密码不能为空")
    private String password;
}
